home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Shareware World / Utilities / Business / Ch-Ching 2.6.7r5 / store / closeup.lasso < prev    next >
Text File  |  1999-10-27  |  2KB  |  53 lines

  1. [include:"includes/name.lasso"]
  2. [if:(client_ip) == "209.134.7.*"]
  3.     [if:(form_param:"Status" == "Accepted")]
  4.         [inline: database=(var:'dtb'), layout="www_closeup", "recNum"=(form_param:"recNum"), "authcode"=(form_param:"AuthNo"), maxRecords='1', -findall]
  5.             [Lasso_Process:(field:"fileCloseUp",raw)]
  6.         [/inline]
  7.         [inline:  database=(var:'dtb'), layout="www_orders", email.host=(var:"host"), email.to=(var:"emailName"), email.bcc=(var:"bcc"), email.format="emailorder.txt", email.subject=(var:"subject"), email.from=(var:"from"), "ordOrderID"=(var:"searchNum"), search]
  8.         [/inline]
  9.         <html>
  10.         <head>
  11.         <META HTTP-EQUIV="refresh" CONTENT="0;
  12. URL=[form_param:'URL']thanks.lasso">
  13.         </head>
  14.         </html>
  15.     [else]
  16.         <html>
  17.         <head>
  18.         <META HTTP-EQUIV="refresh" CONTENT="0;
  19. URL=[form_param:'URL']html/nothanks.html">
  20.         </head>
  21.         </html>
  22.     [/if]
  23. [else:if:(client_ip) =="192.41.82.*"]
  24.     [if:(form_param:"x_response_code" == '1')]
  25.         [inline: database=(var:'dtb'), layout="www_closeup", "recNum"=(form_param:"x_invoice_num"), "authcode"=(form_param:"x_auth_code"), maxRecords='1', -findall]
  26.             [Lasso_Process:(field:"fileCloseUp",raw)]
  27.         [/inline]
  28.         [inline:  database=(var:'dtb'), layout="www_orders", email.host=(var:"host"), email.to=(var:"emailName"), email.bcc=(var:"bcc"), email.format="emailorder.txt", email.subject=(var:"subject"), email.from=(var:"from"), "ordOrderID"=(var:"searchNum"), search]
  29.         [/inline]
  30.     [/if]
  31. [else:if:(referrer_url) =="https://secure.e-xact.com/default.asp"]
  32.     [if:(form_param:"approved" == '1')]
  33.         [inline:database=(var:'dtb'), layout="www_closeup", "recNum"=(form_param:"aux_data1"), "authcode"=(form_param:"auth"), maxRecords='1', -findall]
  34.             [Lasso_Process:(field:"fileCloseUp",raw)]
  35.         [/inline]
  36.         [inline:database=(var:'dtb'), layout="www_orders", email.host=(var:"host"), email.to=(var:"emailName"), email.bcc=(var:"bcc"), email.format="emailorder.txt", email.subject=(var:"subject"), email.from=(var:"from"), "ordOrderID"=(var:"searchNum"), search]
  37.         [/inline]        
  38.         <html>
  39.         <head>
  40.         <META HTTP-EQUIV="refresh" CONTENT="0;
  41. URL=[form_param:'aux_data3']thanks.lasso">
  42.         </head>
  43.         </html>
  44.     [else]
  45.         <html>
  46.         <head>
  47.         <META HTTP-EQUIV="refresh" CONTENT="0;
  48. URL=[form_param:'aux_data3']html/nothanks.html?reason=[form_param:"errors"]">
  49.         </head>
  50.         </html>
  51.     [/if]
  52. [/if]
  53.